package com.cqust.icc.task5.domain;

/**
 * @author 张成
 * @version 1.0
 * @date 2022/4/1 10:00
 */
public class Account {
    private String id;
    private String accountName;
    private String accountBalance;

    public Account(String id, String accountName, String accountBalance) {
        this.id = id;
        this.accountName = accountName;
        this.accountBalance = accountBalance;
    }

    public Account() {
    }

    public Account(String accountName, String accountBalance) {
        this.accountName = accountName;
        this.accountBalance = accountBalance;
    }

    public Account(String wdm) {
        this.accountName = wdm;
    }

    @Override
    public String toString() {
        return "Account{" +
                "id='" + id + '\'' +
                ", accountName='" + accountName + '\'' +
                ", accountBalance='" + accountBalance + '\'' +
                '}';
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getAccountName() {
        return accountName;
    }

    public void setAccountName(String accountName) {
        this.accountName = accountName;
    }

    public String getAccountBalance() {
        return accountBalance;
    }

    public void setAccountBalance(String accountBalance) {
        this.accountBalance = accountBalance;
    }
}
